﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace peta
{
    class CoupeFactory:CarFactory
    {
        public override Car Get_Car()
        {
            Coupe tempMas = new Coupe();

            Console.Write("dotari: ");
            tempMas.setDotari(Console.ReadLine());

            Console.Write("motorizare: ");
            tempMas.setMotorizare(Console.ReadLine());

            Console.Write("dimenisuni: ");
            tempMas.setDimensiuni(Console.ReadLine());

            Console.Write("culoare: ");
            tempMas.setCuloare(Console.ReadLine());

            Console.Write("transmisie: ");
            tempMas.setTransmisie(Console.ReadLine());

            return tempMas;
        }
    }
}
